package com.jredu.entity;

import java.util.List;

public class Dept {
	private int id;
	private String name;
	private int pid;
	private String desc;
	private List<Dept> children;
	
	
	public Dept(int id, String name, int pid, String desc) {
		super();
		this.id = id;
		this.name = name;
		this.pid = pid;
		this.desc = desc;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public List<Dept> getChildren() {
		return children;
	}
	public void setChildren(List<Dept> children) {
		this.children = children;
	}
}
